#ifndef PARTITION_DRIVER_H
#define PARTITION_DRIVER_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "esp_chip_info.h"
#include "esp_flash.h"
#include "esp_system.h"
#include "esp_partition.h"

#include "../LOG.h"

esp_err_t read_partition(size_t src_offset,void *dst, size_t size);
esp_err_t write_partition(size_t src_offset,const void *src, size_t size);
#endif